package com.lvy.hczn.transmit.domain.dto.cteck;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 平台报损推送
 *
 * @author yw
 * @date 2023-08-30 20:14:28
 **/
@Data
public class TFrmLoss implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "单号")
    private String recodeCode;

    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    @ApiModelProperty(value = "0、wms物品报损；1、从平台同步的临期报损")
    private Integer status;

    @ApiModelProperty(value = "数据类型")
    private String dataType;

    @ApiModelProperty(value = "类型(0、降级;1、报损)")
    private Integer type;

    @ApiModelProperty(value = "生产商编码")
    private String producerId;

    @ApiModelProperty(value = "商品编码")
    private String spuCode;

    @ApiModelProperty(value = "商品ID")
    private String spuId;

    @ApiModelProperty(value = "SKU编码")
    private String skuCode;

    @ApiModelProperty(value = "规格编码")
    private String specCode;

    @ApiModelProperty(value = "生产日期")
    private Date productDate;

    @ApiModelProperty(value = "保质期")
    private Integer warrantyDate;

    @ApiModelProperty(value = "重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "处理状态（0、未处理，1、已处理）")
    private Boolean treated;
}
